package edu.pku.sei.mdabase.infrastructure.event;

public class MTEvent {
	
	public MTEvent(Object source, Object type, Object... data) {
		super();
		this.source = source;
		this.type = type;
		this.data = data;
	}
	public Object source;
	public Object type;
	public Object[] data;
	
	
	static public final String PROPERTY_CHANGE = "__VALUE_CHANGE__";
	static public final String ELEMENT_CREATION = "__CREATE_ELEMENT__";
	static public final String DELETE_ELEMENT = "__DELETE_ELEMENT__";
	static public final String CREATE_REFERENCE = "__CREATE_REFERENCE__";
	static public final String DELETE_REFERENCE = "__DELETE_REFERENCE__";
	
	public Object command;
	
}
